package com.hsq.ndmall.wx.feign.order;

import com.hsq.ndmall.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "product-service")
public interface ProductFeign {
    @GetMapping("/product/goodsproduct/info/{productId}")
    R findProductById(@PathVariable("productId") Integer productId);
}
